import request from '@/utils/request'

// 查询车大夫问答评论列表
export function listDoctorquestioncomment(query) {
  return request({
    url: '/wechat/doctorquestioncomment/list',
    method: 'get',
    params: query
  })
}

// 查询车大夫问答评论详细
export function getDoctorquestioncomment(commentId) {
  return request({
    url: '/wechat/doctorquestioncomment/' + commentId,
    method: 'get'
  })
}

// 新增车大夫问答评论
export function addDoctorquestioncomment(data) {
  return request({
    url: '/wechat/doctorquestioncomment',
    method: 'post',
    data: data
  })
}

// 修改车大夫问答评论
export function updateDoctorquestioncomment(data) {
  return request({
    url: '/wechat/doctorquestioncomment',
    method: 'put',
    data: data
  })
}

// 删除车大夫问答评论
export function delDoctorquestioncomment(commentId) {
  return request({
    url: '/wechat/doctorquestioncomment/' + commentId,
    method: 'delete'
  })
}

// 导出车大夫问答评论
export function exportDoctorquestioncomment(query) {
  return request({
    url: '/wechat/doctorquestioncomment/export',
    method: 'get',
    params: query
  })
}